<%-- 
    Document   : c9
    Created on : 2014/8/18, 下午 01:28:23
    Author     : Benny
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<jsp:useBean class="data.person" id="p1" />
<jsp:setProperty name="p1" property="*" />
<jsp:useBean class="java.util.ArrayList" id="shoppingcar" scope="session" />
<%
    shoppingcar.add(p1);
%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>C9</title>
    </head>
    <body>
        <h1>-----C9-----</h1>
        <hr>
        <%= shoppingcar.size() %>, <a href="c6.jsp">回到C6</a>
        
    </body>
</html>
